#if !defined(AFX_MYGRAPHCLOCKVIEW_H__4ED863D0_E4F9_4883_94DB_98759250E71B__INCLUDED_)
#define AFX_MYGRAPHCLOCKVIEW_H__4ED863D0_E4F9_4883_94DB_98759250E71B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyGraphClockView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// MyGraphClockView view

class GraphClockView : public CScrollView
{
	friend class ChildGraphFrame;
protected:
	GraphClockView();           // protected constructor used by dynamic creation
	ChildGraphFrame* GetParentGraphFrame();
	DECLARE_DYNCREATE(GraphClockView)

// Attributes
public:
	friend	class	ZWaveeditorDoc;
	friend	class	CImage;
private:
	int SelectedScenario;

// Operations
public:
	void ChangeWindowTitle();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(MyGraphClockView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnInitialUpdate();     // first time after construct
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~GraphClockView();
	void DrawWholeGraphClockChart(CDC* pDC, graphdata *ImageGraphData);
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(MyGraphClockView)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	int UpdateView(void);
	ZWaveeditorDoc* GetDocument();
	void GetWholeGraphClockChart( CImage *ImageForSave, graphdata *ImageGraphData );

	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
};

/////////////////////////////////////////////////////////////////////////////
#ifndef _DEBUG  // debug version in waveeditorView.cpp
inline ZWaveeditorDoc* GraphClockView::GetDocument()
   { return (ZWaveeditorDoc*)m_pDocument; }
#endif


//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYGRAPHCLOCKVIEW_H__4ED863D0_E4F9_4883_94DB_98759250E71B__INCLUDED_)
